package com.javatom.notes.seata.xa.account.service;

import com.javatom.notes.seata.xa.account.pojo.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

/**
 * @description:
 * @author: 曾维录
 * @time: 2020/8/19 18:02
 */
@FeignClient(value = "spring-cloud-alibaba-seata-xa-order")
public interface OrderService {
    @GetMapping("/insert")
     CommonResult insert(@RequestParam("userId") Integer userId, @RequestParam("falg") Integer falg);
}
